.class Lcom/nemustech/regina/ReginaUpdater$1;
.super Landroid/content/BroadcastReceiver;
.source "ReginaUpdater.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/nemustech/regina/ReginaUpdater;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/ReginaUpdater;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/ReginaUpdater;)V
    .locals 0
    .parameter

    .prologue
    .line 31
    iput-object p1, p0, Lcom/nemustech/regina/ReginaUpdater$1;->this$0:Lcom/nemustech/regina/ReginaUpdater;

    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 4
    .parameter "context"
    .parameter "intent"

    .prologue
    .line 35
    const-string v1, "networkInfo"

    invoke-virtual {p2, v1}, Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;

    move-result-object v0

    check-cast v0, Landroid/net/NetworkInfo;

    .line 36
    .local v0, info:Landroid/net/NetworkInfo;
    invoke-virtual {v0}, Landroid/net/NetworkInfo;->isConnected()Z

    move-result v1

    if-eqz v1, :cond_0

    .line 37
    invoke-virtual {v0}, Landroid/net/NetworkInfo;->getType()I

    move-result v1

    packed-switch v1, :pswitch_data_0

    .line 48
    :cond_0
    :goto_0
    return-void

    .line 39
    :pswitch_0
    iget-object v1, p0, Lcom/nemustech/regina/ReginaUpdater$1;->this$0:Lcom/nemustech/regina/ReginaUpdater;

    const-string v2, ""

    invoke-static {v1, v2}, Lcom/nemustech/regina/ReginaUpdater;->access$002(Lcom/nemustech/regina/ReginaUpdater;Ljava/lang/String;)Ljava/lang/String;

    goto :goto_0

    .line 42
    :pswitch_1
    iget-object v1, p0, Lcom/nemustech/regina/ReginaUpdater$1;->this$0:Lcom/nemustech/regina/ReginaUpdater;

    iget-object v2, p0, Lcom/nemustech/regina/ReginaUpdater$1;->this$0:Lcom/nemustech/regina/ReginaUpdater;

    const v3, 0x7f07006a

    invoke-virtual {v2, v3}, Lcom/nemustech/regina/ReginaUpdater;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/nemustech/regina/ReginaUpdater;->access$002(Lcom/nemustech/regina/ReginaUpdater;Ljava/lang/String;)Ljava/lang/String;

    goto :goto_0

    .line 37
    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method
